package com.jt.controller;

import com.jt.service.PointScadaConfigService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
import org.springframework.web.multipart.MultipartFile;

import javax.xml.ws.Action;

@RestController
@RequestMapping("/pointScadaConfig")
public class PointScadaConfigController {
    @Autowired
    private PointScadaConfigService pointScadaConfigService;
    @PostMapping("import")
    public void pointScadaConfigImport(MultipartFile file) {
        pointScadaConfigService.pointScadaConfigImport(file);
    }

}
